Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@babel/plugin-proposal-export-namespace-from
Advanced tools
The @babel/plugin-proposal-export-namespace-from package allows developers to use the export * as syntax in their JavaScript or TypeScript code, which is part of the ECMAScript 2020 (ES2020) specification. This syntax enables a module to re-export all exports of another module, creating a single named export that encapsulates all of them.
Re-exporting all named exports from a module
This feature allows a module to re-export all named exports from another module under a single namespace. In the code sample, all exports from './utils' are available as properties of the 'utils' object.
export * as utils from './utils';
This package allows Babel to parse the export * as syntax but does not transform it. It is useful when you want to enable the syntax but are using a bundler or environment that already supports it natively.
This package is a Babel plugin that adds support for the export-from extension syntax, which includes export * as. It is similar to @babel/plugin-proposal-export-namespace-from but is not scoped under the official Babel namespace and may not be as up-to-date with Babel's plugin API.
Compile export namespace to ES2015
See our website @babel/plugin-proposal-export-namespace-from for more information.
Using npm:
npm install --save-dev @babel/plugin-proposal-export-namespace-from
or using yarn:
yarn add @babel/plugin-proposal-export-namespace-from --dev
v7.18.9 (2022-07-18)
babel-plugin-transform-modules-systemjs
, babel-types
babel-generator
returnType
with comments generates incorrect code (@liuxingbaoyu)babel-cli
babel-cli
is ready. (@liuxingbaoyu)babel-core
, babel-helper-remap-async-to-generator
, babel-helpers
, babel-parser
, babel-plugin-transform-block-scoping
, babel-preset-env
babel-helper-create-class-features-plugin
, babel-helper-member-expression-to-functions
, babel-helper-remap-async-to-generator
, babel-helper-replace-supers
, babel-helper-wrap-function
, babel-helpers
, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
, babel-plugin-proposal-decorators
, babel-plugin-proposal-object-rest-spread
, babel-plugin-proposal-optional-chaining
, babel-plugin-transform-block-scoping
, babel-plugin-transform-classes
, babel-traverse
, babel-types
babel-generator
FAQs
Compile export namespace to ES2015
The npm package @babel/plugin-proposal-export-namespace-from receives a total of 5,930,843 weekly downloads. As such, @babel/plugin-proposal-export-namespace-from popularity was classified as popular.
We found that @babel/plugin-proposal-export-namespace-from demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.